﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Values;

namespace My.Domain.IssueLabels
{
    public class IssueLabel : ValueObject
    {
        /// <summary>
        /// 问题的Id
        /// </summary>
        public Guid IssueId { get; set; }

        /// <summary>
        /// 标签(领域)的Id
        /// </summary>
        public Guid LabelId { get; set; }

        protected override IEnumerable<object> GetAtomicValues()
        {
            yield return IssueId;
            yield return LabelId;
        }
    }
}
